package com.future.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tag")
public class Tag {
    @ApiModelProperty("标签id")
    @TableId(type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("标签名称")
    private String name;
    @ApiModelProperty("创建时间")
    private LocalDateTime createdAt;

}
